<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta name="generator" content="HTML Tidy for Linux/x86 (vers 12 April 2005), see www.w3.org" />

  <title>Syntax Check</title>
  <link href="book.css" rel="stylesheet" type="text/css" />
  <meta content="DocBook XSL-NS Stylesheets V1.73.0" name="generator" />
  <link rel="start" href="index.html" title="EPIC - User's Guide" />
  <link rel="up" href="ch05.html" title="Working with the Perl Editor" />
  <link rel="prev" href="ch05.html" title="Working with the Perl Editor" />
  <link rel="next" href="ch05s02.html" title="Explain Errors and Warnings" />
</head>

<body>
  <div class="section" lang="en" xml:lang="en">
    <div class="titlepage">
      <div>
        <div>
          <h2 class="title" style="clear: both"><a id="N1046E" name="N1046E"></a>Syntax Check</h2>
        </div>
      </div>
    </div>

    <p>EPIC performs on the fly syntax check of Perl source files. In order for the Syntax Check to
    work, the Perl Interpreter has to be set up correctly (see <a class="xref" href="ch02.html"
    title="Setting Up Preferences"><i>Setting Up Preferences</i></a>).</p>

    <p>The Syntax Check is performed after a defined idle period, after the user has stopped
    typing. This idle period can be configured in the preferences.</p>

    <p>When an error/warning has been found, the editor displays the appropriate icon in the
    annotation ruler (the gray bar on the left side of the editor), underlines the error in the
    source, and inserts a marker into the Problems view.</p>

    <p>A syntax check can be enforced by pressing <span class=
    "keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>F5</strong></span>. It is
    also triggered automatically by saving a source file.</p>

    <div class="screenshot">
      <div class="mediaobject" align="center">
        <img src="images/syntax_check_1.gif" align="middle" alt="Syntax Check" />
      </div>
    </div>
  </div>
</body>
</html>
